package com.score.entity;

import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 评分卡结果表
 * </p>
 *
 * @author yangjingjing
 * @since 2020-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ScoreResult implements Serializable {

private static final long serialVersionUID=1L;

    private Integer id;

    /**
     * 模型ID
     */
    private Integer modelId;

    /**
     * 规则项ID
     */
    private Integer itemId;

    /**
     * 规则变量名称
     */
    private String varName;

    /**
     * 规则变量值
     */
    private String varValue;

    /**
     * 版本号
     */
    private String version;

    /**
     * 分值
     */
    private String score;

    /**
     * 权重
     */
    private String weight;

    /**
     * 规则
     */
    private String result;


    public static final String ID = "id";

    public static final String MODEL_ID = "model_id";

    public static final String ITEM_ID = "item_id";

    public static final String VAR_NAME = "var_name";

    public static final String VAR_VALUE = "var_value";

    public static final String VERSION = "version";

    public static final String SCORE = "score";

    public static final String WEIGHT = "weight";

    public static final String RESULT = "result";

}
